/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mum.edu.cs.waa.assignment.model;

/**
 *
 * @author thabtemichael
 */
public class Post {
    
    private static  int COUNT;
    private String category;
    private String title;
    private String post;
    private Account account;
    public Post() {
    }

    public Post(String category, String title, String post,Account account) {
        this.category = category;
        this.title = title;
        this.post = post;
        this.account=account;
        COUNT++;
    }

    public static int getCOUNT() {
        return COUNT;
    }

    public static void setCOUNT(int COUNT) {
        Post.COUNT = COUNT;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }
    
    
    
}
